<?php

/**
 * Created by PhpStorm.
 * User: Yieong
 * Date: 2017/7/6
 * Time: 上午10:30
 */
class TransService extends Service
{

    public static function indexHeader(){
        return array(
            'RecDate'           => array('text' => '日期'),
            'SID'               => array('text' => '服'),
            'TransSerial'       => array('text' => '任务类型'),
            'GetTaskNumber'     => array('text' => '接受任务人数', 'rule' => 'numeric'),
            'CompTaskNumber'    => array('text' => '完成任务人数', 'rule' => 'numeric'),
            'CompTaskTime'      => array('text' => '完成任务人均消耗时间（分钟）', 'rule' => 'numeric')
        );
    }

    public static function indexData($params){
        $result = ModTrans::indexData($params);

        return $result;
    }

}